home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
src
/
mail
/
pine3.96.tar.gz
/
pine3.96.tar
/
pine3.96
/
pico
/
makefile.win
< prev
next >
Wrap
Makefile
|
1996-07-12
|
3KB
|
128 lines
# $Id: makefile.win,v 4.18 1996/07/12 19:23:16 mikes Exp $
#
# Tom Unger
# Networks and Distributed Computing
# Computing and Communications
# University of Washington
# Administration Builiding, AG-44
# Seattle, Washington, 98195, USA
# Internet: tunger@cac.washington.edu
#
# Please address all bugs and comments to "pine-bugs@cac.washington.edu"
#
#
# Pine and Pico are registered trademarks of the University of Washington.
# No commercial use of these trademarks may be made without prior written
# permission of the University of Washington.
#
# Pine, Pico, and Pilot software and its included text are Copyright
# 1989-1996 by the University of Washington.
#
# The full text of our legal notices is contained in the file called
# CPYRIGHT, included with this distribution.
#
#
#
# Makefile for MS-DOS version of the PINE composer library and
# stand-alone editor pico.
#
# MSC version of makefile
#
CC=cl
RM=del
CP=copy
RC = rc
# Various Flags
STDCFLAGS= -nologo -WX -AL -GA -Gt4 -Gy -DANSI -DDOS
#includes mouse support
MOUSE= -DMOUSE -DEX_MOUSE
#includes optimization
OPTIMIZE= -O -On -Gs
#includes symbol info for debugging
CDEBUG= # -Zi -Od
LDEBUG= # /CO
#
CFLAGS= $(CDEBUG) $(OPTIMIZE) $(STDCFLAGS) $(NET) $(MOUSE)
LFLAGS= $(LDEBUG) /NOD /NOE /ONERROR:NOEXE /stack:32768
RCFLAGS =
# switches for library building
LIBER=lib
LIBARGS=/NOL -+
HFILES= estruct.h edef.h efunc.h ebind.h pico.h osdep.h mswin.h
CFILES= attach.c basic.c bind.c browse.c \
buffer.c composer.c display.c file.c fileio.c \
line.c mswin.c msmem.c osdep.c pico.c random.c region.c \
search.c msdlg.c msspell.c window.c word.c
OFILES= attach.obj basic.obj bind.obj browse.obj \
buffer.obj composer.obj display.obj file.obj fileio.obj \
line.obj mswin.obj msmem.obj osdep.obj pico.obj random.obj \
region.obj search.obj msdlg.obj msspell.obj window.obj word.obj
all: blddate.exe pico.exe
tags:
ctags -s -t ..\\TAGS -m -h -p *.h *.c
.c.obj:
$(CC) -c $(CFLAGS) $(MAKEDIR)\$*.c
$(LIBER) libpico $(LIBARGS) $*;
$(OFILES): $(HFILES)
#
# dependencies for the MS Windows versions of pico and libpico.a
#
osdep.c: os_win.c dos_gen.h dos_gen.c
$(RM) osdep.c
$(CP) os_win.c osdep.c
osdep.h: os_win.h
$(RM) osdep.h
$(CP) os_win.h osdep.h
libpico.lib: osdep.c osdep.h $(OFILES)
# del libpico.lib
# $(LIBER) libpico +attach+basic+bind+browse;
# $(LIBER) libpico +buffer+composer+display+file+fileio;
# $(LIBER) libpico +line+mswin+msmem+osdep+pico+random+region;
# $(LIBER) libpico +search+msspell+window+word;
main.obj: main.c $(HFILES)
$(CC) /c $(CFLAGS) main.c
mswinver.obj: mswinver.c
$(CC) /c $(CFLAGS) mswinver.c
mswin.res: mswin.rc
$(RC) $(RCFLAGS) -r mswin.rc
blddate.exe: blddate.c
$(CC) blddate.c
pico.exe:: main.obj libpico.lib mswin.res $(OFILES) mswinver.obj
blddate > bdate.c
$(CC) /c $(CFLAGS) bdate.c
link $(LFLAGS) @pico-win.lnk
$(RC) -t -k mswin.res pico.exe
clean:
$(RM) *.lib
$(RM) *.obj
$(RM) mswin.res
$(RM) osdep.c
$(RM) osdep.h